using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace Maxima.Common
{
    public static class Constants
    {
        //TODO: Move everything in some config file.
        #region Strings and Text

    
        public static string INVALID_COMMAND = "Invalid command!";

        public static int READ_BUFFER_MAX_SIZE = 1024;// Client size
        public static int MSG_SIZE_1KB = 1024; //Server size
        public static int NO_OF_MAX_CLIENTS_SUPPORTED = 10;
        public static string CLOSE_CONNECTION_REQUEST_CODE = "logout";
        public static int DEFAULT_PORT = 9991;
        public static int HEADER_BYTES = 4;

        
        public static string DateFormat_Mdy = "MM/dd/yyyy";
        public static string DateFormat_Dmy = "dd/MM/yyyy";
        public static string DateFormat_MdY_000 = "dd-MM-yyyy 00:00:00.000";//"yyyy-MM-dd 00:00:00.000";
        public static string DateFormat_MdY_23 = "dd-MM-yyyy 23:59:59.000"; //yyyy-MM-dd 23:59:59.000

        public static string ControlSizePercentage = "70%"; //yyyy-MM-dd 23:59:59.000

        //public static string LOGFILENAME = AppConfigure.ParamValue("LOGFILENAME");
        //public static string LOGPATH = AppConfigure.ParamValue("LOGFILEPATH");
        public static string INFO_LOGGING = "1";//CConfigurator.ParamValue("INFO_LOGGING");
        public static string ERROR_LOGGING = "1";// CConfigurator.ParamValue("ERROR_LOGGING");

        public static int QUANTITY_FORMAT_DIGIT = 6;
        public static int COST_FORMAT_DIGIT = 8;
        public static string DATE_FORMAT = "dd MMM yyyy";
        public static int PERCENTAGE_FORMAT_DIGIT = 4;
        public const string msgParamStart = "___";
        public static string SUCCESS = "1";
        public static string FAILED = "0";
        public static string EMPTY_VALUE = " ";


        #endregion
    }
}
